:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

#app {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.content-box {
  width: 515px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  user-select: none;
  font-size: 36px;
}

.content-box p {
  line-height: 1.8;
}

.effect {
  position: absolute;
  inset: 0;
}
.effect span {
  --p: 0%;
  background: linear-gradient(
    to right,
    #0000 var(--p),
    #242424 calc(var(--p) + 58px)
  );
  color: transparent;
  animation: erase 8s linear forwards;
}

@property --p {
  syntax: '<percentage>';
  initial-value: 0%;
  inherits: false;
}

@keyframes erase {
  to {
    --p: 100%;
  }
}
